package com.competition.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.competition.common.annotation.Excel;
import com.competition.common.core.domain.BaseEntity;

/**
 * 班级管理对象 clazz
 * 
 * @author cui
 * @date 2025-01-21
 */
public class Clazz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long clazzId;

    /** 专业 */
    @Excel(name = "专业")
    private Long majorId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String clazzName;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    public void setClazzId(Long clazzId) 
    {
        this.clazzId = clazzId;
    }

    public Long getClazzId() 
    {
        return clazzId;
    }
    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }
    public void setClazzName(String clazzName) 
    {
        this.clazzName = clazzName;
    }

    public String getClazzName() 
    {
        return clazzName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clazzId", getClazzId())
            .append("majorId", getMajorId())
            .append("clazzName", getClazzName())
            .append("deptId", getDeptId())
            .toString();
    }
}
